<h1>Editing error</h1>

<%= error_messages_for :error %>

<% form_for(:error, :url => error_path(@error), :html => { :method => :put }) do |f| %>
  <p>
    <%= submit_tag "Update" %>
  </p>
<% end %>

<%= link_to 'Show', error_path(@error) %> |
<%= link_to 'Back', errors_path %>